package com.lr.transfer.utils;


import com.lr.transfer.config.SpringContextHolder;
import com.lr.transfer.config.TransferProperties;

/**
 * 验证码工具类
 */
public class KaptchaUtil {

    /**
     * 获取验证码开关
     */
    public static Boolean getKaptchaOnOff() {
        return SpringContextHolder.getBean(TransferProperties.class).getKaptchaOpen();
    }
}